<?php
$zTemplate->set_file ( 'main', '../templates/ia.html' );

$Link = $_GET['entry'];
$db = phpclone($dbObj);
$sql = "SELECT * FROM `cs_footer` WHERE Link='".$Link."'";
$rs = $db -> getOneQuery($sql); 
if($rs)
{
	$zTemplate -> set_var(array('Content' => nl2br($rs['Content']), 'GlobalTitle'=> $rs['Str'].' - '.$MStr['globalslogan']));
}
/*
Bug fixed by Liang Fan on 10/2/2012
if this set, navigation bar will be highlighted
*/
$currentPage = '';